package com.triones.framework.file.config;

import com.triones.framework.file.core.client.FileClientFactory;
import com.triones.framework.file.core.client.FileClientFactoryImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.context.annotation.Bean;

/**
 * 文件配置类
 *
 * @author triones
 * 2023-09-18
 */
@Slf4j
@AutoConfiguration
public class TrionesFileAutoConfiguration {

    @Bean
    public FileClientFactory fileClientFactory() {
        log.debug("自动注入Bean fileClientFactory");
        return new FileClientFactoryImpl();
    }

}
